package com.um.jdy.common.activity.service;

import com.um.springboot.starter.orm.service.BaseEntityService;
import com.um.jdy.common.activity.entity.po.Coupons;

import java.util.Map;

/**
 * 服务接口：优惠券表【备份】
 */
public interface CouponsService extends BaseEntityService<Coupons> {

    /**
     * 领取优惠券
     * @param activityCouponsId
     * @param memberUserId
     * @return
     */
    void receive(String activityCouponsId, String memberUserId);

    /**
     * 兑换优惠券
     * @param code
     * @param memberUserId
     * @return
     */
    void exchange(String code, String memberUserId);

}
